<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <META http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
  </head>
  <title>Registo de usuario</title>
  <body>
   <font color="green"><s:actionmessage/></font>
   <div align="center">
    <h2>Registro de usuario</h2><h1></h1>
    <s:form action="registerUser"  method="post">
	  <s:textfield label="Nombre" name="name" key="name" size="18" ></s:textfield>
	  <s:textfield label="Nombre de usuario" name="username" key="username" size="18" ></s:textfield>
	  <s:password label="Password" name="userpassword" key="userpassword" size="18" ></s:password>
	  <s:password label="Reescriba el Password" name="userpasswordrep" key="userpasswordrep" size="18" ></s:password>
	  <s:textfield label="E-mail" name="useremail" key="useremail" size="18" ></s:textfield>
	  <s:submit type="button" label="Alta" method="execute" align="right" ></s:submit>
	  <s:actionerror/>
    </s:form> 
   </div>
 </body>
</html>